'use strict';
const crypto = require('crypto');
const _ = require('underscore');
const moment = require('moment');
const conn = require('./Conn');
const Utils = {
    encrypt: function (password) {
        let hash = crypto.createHash('sha256');
        let passwordHash = hash.update(password);
        let encryptPwd = passwordHash.digest('hex');
        return encryptPwd;
    }
};

module.exports = Utils;
